package cn.com.roy.thread.t6_2.singleton_8;

import java.io.ObjectStreamException;
import java.io.Serializable;

public class MyObject implements Serializable {

    private static MyObject instance = null;

    private MyObject() {

    }

    static {
        instance = new MyObject();
    }

    public static MyObject getInstance() {
        return instance;
    }


}
